{include file="header.html"}
<script type="text/javascript">
$(function(){
    $('#add_time_from').datepicker({dateFormat: 'yy-mm-dd'});
    $('#add_time_to').datepicker({dateFormat: 'yy-mm-dd'});
});
</script>

<div id="rightTop">
    <p>{$lang.integral_goods_log}</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=integral_goods">{$lang.manage}</a></li>
        <li><a class="btn1" href="index.php?app=integral_goods&amp;act=add">{$lang.add}</a></li>
        <li><span>{$lang.integral_goods_log}</span></li>
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="integral_goods" />
                <input type="hidden" name="act" value="log" />
                {$lang.user_name}:
                <input class="queryInput" type="text" name="user_name" value="{$smarty.get.user_name|escape}" />
                {$lang.goods_name}:
                <input class="queryInput" type="text" name="goods_name" value="{$smarty.get.goods_name|escape}" />
                
                <select class="querySelect" name="state">
                    <option value="">{$lang.states}</option>
                    {html_options options=$states selected=$query.state}
                </select>
                {$lang.add_time_from}:<input class="queryInput" type="text" value="{$query.add_time_from}" id="add_time_from" name="add_time_from" class="pick_date" />
                {$lang.add_time_to}:<input class="queryInput" type="text" value="{$query.add_time_to}" id="add_time_to" name="add_time_to" class="pick_date" />
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=integral_goods">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
    <div class="fontr">{include file=page.top.html}</div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $integral_goods_log_list}-->
        <tr class="tatr1">
            <td  class="firstCell">{$lang.goods_name}</td>
            <td>{$lang.user_name}</td>
            <td>{$lang.my_name}</td>
            <td>{$lang.my_address}</td>
            <td>{$lang.my_mobile}</td>
            <td>{$lang.my_num}</td>
            <td>{$lang.wuliu}</td>
            <td>{$lang.state}</td>
            <td>{$lang.add_time}</td>
            <td>{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$integral_goods_log_list item=integral_goods_log}-->
        <tr class="tatr2">
            <td  class="firstCell">{$integral_goods_log.goods_name|escape}</td>
            <td>{$integral_goods_log.user_name|escape}</td>
            <td>{$integral_goods_log.my_name|escape}</td>
            <td>{$integral_goods_log.my_address|escape}</td>
            <td>{$integral_goods_log.my_mobile|escape}</td>
            <td>{$integral_goods_log.my_num|escape}</td>
            <td>{$integral_goods_log.wuliu_name}<br/>{$integral_goods_log.wuliu_danhao}</td>
            <td>{$integral_goods_log.state|escape}</td>
            <td>{$integral_goods_log.add_time|date}</td>
            <td class="handler">
                <a href="index.php?app=integral_goods&amp;act=logedit&amp;id={$integral_goods_log.id}">{$lang.edit}</a>  |  
                <a href="index.php?app=integral_goods&amp;act=logdrop&amp;id={$integral_goods_log.id}">{$lang.drop}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="10">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $integral_goods_log_list}-->
    <div id="dataFuncs">
        <div class="pageLinks">{include file=page.bottom.html}</div>
        <div class="clear"></div>
    </div>
    <!--{/if}-->
</div>
{include file="footer.html"}